#ifndef __STANDARDLIBRARY
#define __STANDARDLIBRARY


#include<sstream>
#include<string>
using namespace std;

namespace Custom
{
	inline string ToString(const char &c)
	{
		string s;
		s.push_back(c);
		return s;
	}

	template<class T>
	inline string ToString(const T &v)
	{
		ostringstream sstream;
		sstream << v;
		return sstream.str();
	}


	class Int
	{
	public:
		int Value;
		Int() : Value(0) {}
		Int(int v) : Value(v) {}
		static int Parse(const string &s)
		{
			istringstream sstream(s);
			int v;
			sstream >> v;
			return v;
		}
	};

	static struct Double
	{
		static double Parse(const string &s)
		{
			istringstream sstream(s);
			double v;
			sstream >> v;
			return v;
		}
	};

	static struct LongLong
	{
		static long long Parse(const string &s)
		{
			istringstream sstream(s);
			long long v;
			sstream >> v;
			return v;
		}
	};
}



#endif